﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace TotalApplication.Core
{
    public partial class MenuViewModel : BaseViewModel
    {
        #region Public Properties

        [ObservableProperty]
        private List<MenuItemViewModel>? _items;

        #endregion

        #region Constructor

        public MenuViewModel()
        {
            Items = new List<MenuItemViewModel>
            {
                new MenuItemViewModel
                {
                    Text = "Home",
                    Type = MenuItemType.Header,
                },
                new MenuItemViewModel
                {
                    Text = "Settings",
                    Icon = IconType.Picture
                },
                new MenuItemViewModel
                {
                    Text = "Help",
                    Icon = IconType.File
                }
            };
        }

        #endregion
    }
}
